package de.gameduell.framework.error {
	import flash.events.Event;	

	/**
	 * @author cbra
	 */
	public class GDErrorEvent extends Event {
		public static const ERROR:String = "gd_error";
		
		private var _error:GDError;

		public function GDErrorEvent(aError:GDError, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(ERROR, bubbles, cancelable);
			_error = aError;
		}
		
		public function get error():GDError{
			return _error;
		}
	}
}
